<%@ page import="com.du.Org" %>



<div class="fieldcontain ${hasErrors(bean: orgInstance, field: 'email', 'error')} ">
	<label for="email">
		<g:message code="org.email.label" default="Email" />
		
	</label>
	<g:textField name="email" value="${orgInstance?.email}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: orgInstance, field: 'head', 'error')} required">
	<label for="head">
		<g:message code="org.head.label" default="Head" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="head" name="head.id" from="${com.du.Person.list()}" optionKey="id" required="" value="${orgInstance?.head?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: orgInstance, field: 'startDay', 'error')} required">
	<label for="startDay">
		<g:message code="org.startDay.label" default="Start Day" />
		<span class="required-indicator">*</span>
	</label>
	<g:datePicker name="startDay" precision="day"  value="${orgInstance?.startDay}"  />
</div>

<div class="fieldcontain ${hasErrors(bean: orgInstance, field: 'title', 'error')} ">
	<label for="title">
		<g:message code="org.title.label" default="Title" />
		
	</label>
	<g:textField name="title" value="${orgInstance?.title}"/>
</div>

